Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs: enable custom mount points for fatfs #84194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kica-z
Copy link
Contributor

@kica-z kica-z commented Jan 19, 2025

In order to use custom named mount points with fatfs some adjustments to the zephyr fatfs integration had to be done.

If somebody sees a possibility how CONFIG_FS_FATFS_CUSTOM_MOUNT_POINT_COUNT could be removed i am very open to suggestions.

In order to use custom named mount points with fatfs
some adjustments to the zephyr fatfs integration had
to be done.

Signed-off-by: Carlo Kirchmeier <[email protected]>
@kica-z kica-z force-pushed the feature/fatfs-custom-mount branch from bfb8a15 to 1fb64c8 Compare January 19, 2025 10:47
#error Mount point count needs to be defined
#endif /* !defined(CONFIG_FS_FATFS_CUSTOM_MOUNT_POINT_COUNT) */
#undef FF_VOLUMES
#define FF_VOLUMES CONFIG_FS_FATFS_CUSTOM_MOUNT_POINT_COUNT
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can probably use the ARG_COUNT macro for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants